package com.pcbly.web.components.utils.property;

import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Set;

@SuppressWarnings("unchecked")
public class EmptyOfficeProperties extends AbstractOfficeProperties {

	private static class InstanceHolder {

		private static final EmptyOfficeProperties instance = new EmptyOfficeProperties();

		private InstanceHolder() {
		}
	}

	private EmptyOfficeProperties() {
	}

	public static EmptyOfficeProperties getInstance() {
		return InstanceHolder.instance;
	}

	public Collection getChildrenNames(String parentKey) {
		return Collections.emptyList();
	}

	public Collection getPropertyNames() {
		return Collections.emptyList();
	}

	public int size() {
		return 0;
	}

	public boolean isEmpty() {
		return true;
	}

	public boolean containsKey(Object o) {
		return false;
	}

	public boolean containsValue(Object o) {
		return false;
	}

	public String put(String s, String s1) {
		return null;
	}

	
	public void putAll(Map map1) {
	}

	public void clear() {
	}

	public Set keySet() {
		return Collections.emptySet();
	}

	public Collection values() {
		return Collections.emptyList();
	}

	public Set entrySet() {
		return Collections.emptySet();
	}

	public Collection getChildrenNames(Object x0) {
		return getChildrenNames((String) x0);
	}

	public Object remove(Object x0) {
		return null;
	}

	public Object put(Object x0, Object x1) {
		return put((String) x0, (String) x1);
	}

	public Object get(Object x0) {
		return null;
	}

}
